package com.ctshk.rpc.finance.entity;

import java.math.BigDecimal;
import com.baomidou.mybatisplus.annotation.TableName;
import com.ctshk.common.model.BaseEntity;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 对账详细信息
 * </p>
 *
 * @author 叶冠峰
 * @since 2021-03-26
 */
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("t_finance_bill_check_detail")
@ApiModel(value="FinanceBillCheckDetail对象", description="对账详细信息")
public class FinanceBillCheckDetail extends BaseEntity {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "所属对账ID")
    private Long checkId;

    @ApiModelProperty(value = "业务类型")
    private Integer businessType;

    @ApiModelProperty(value = "1 收款 2 退款")
    private Integer billType;

    @ApiModelProperty(value = "付款方式ID")
    private Long payWayId;

    @ApiModelProperty(value = "付款方式")
    private String payWay;

    @ApiModelProperty(value = "金额")
    private BigDecimal totalAmount;

    @ApiModelProperty(value = "币种ID")
    private Long currencyId;

    @ApiModelProperty(value = "币种名称")
    private String currencyName;

    @ApiModelProperty(value = "汇率")
    private Double exchangeRate;

    @ApiModelProperty(value = "所属收退单ID")
    private Long billId;

    @ApiModelProperty(value = "收退单号")
    private String billNumber;

    @ApiModelProperty(value = "产品ID")
    private Long productId;

    @ApiModelProperty(value = "产品编号/团号")
    private String productNumber;

    @ApiModelProperty(value = "资源信息")
    private String resourceInfo;

    @ApiModelProperty(value = "销售订单ID")
    private Long saleOrderId;

    @ApiModelProperty(value = "销售人员ID")
    private Long saleUserId;

    @ApiModelProperty(value = "销售人员名称")
    private String saleUserName;

    @ApiModelProperty(value = "创建人展示属性")
    private String createUser;

    @ApiModelProperty(value = "创建人")
    private Long createId;

    @ApiModelProperty(value = "修改人")
    private Long modifiedId;

    @ApiModelProperty(value = "删除标识")
    private Integer isDeleted;


}
